package com.business.system.bean;

import java.util.Date;

import net.sf.rose.jdbc.bean.ModelBean;
import net.sf.rose.jdbc.bean.annotation.Column;
import net.sf.rose.jdbc.bean.annotation.Table;
import net.sf.rose.jdbc.bean.annotation.Type;

/**
 * @author: xudy
 * @date: 2018/04/07 16:51
 * @description:
 */
@Table(name = "SETTLE_LOG")
public class SettleLogBean extends ModelBean {
	@Column(pk = true, name = "ID", type = Type.定长文本, description = "编号", canNull = false, size = 32, policy = "UUID")
	private String id;

	@Column(name = "USER_ID", type = Type.变长文本, description = "user_id", size = 32)
	private String userId;

	@Column(name = "STATIC_TIME", type = Type.日期时间, description = "统计时间")
	private Date staticTime;

	@Column(name = "RECOMMEND_FEE", type = Type.数字双精度型, description = "推荐返利")
	private double recommendFee;

	@Column(name = "AGENT_FEE", type = Type.数字双精度型, description = "代理返利")
	private double agentFee;

	@Column(name = "TOTAL_FEE", type = Type.数字双精度型, description = "应结返利")
	private double totalFee;

	@Column(name = "REAL_FEE", type = Type.数字双精度型, description = "实际结算返利")
	private double realFee;

	@Column(name = "STATE", type = Type.数字整型, description = "1-待结算 2-已结算", size = 1)
	private int state = 1;//默认待结算

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public Date getStaticTime() {
		return staticTime;
	}

	public void setStaticTime(Date staticTime) {
		this.staticTime = staticTime;
	}

	public double getRecommendFee() {
		return recommendFee;
	}

	public void setRecommendFee(double recommendFee) {
		this.recommendFee = recommendFee;
	}

	public double getAgentFee() {
		return agentFee;
	}

	public void setAgentFee(double agentFee) {
		this.agentFee = agentFee;
	}

	public double getTotalFee() {
		return totalFee;
	}

	public void setTotalFee(double totalFee) {
		this.totalFee = totalFee;
	}

	public double getRealFee() {
		return realFee;
	}

	public void setRealFee(double realFee) {
		this.realFee = realFee;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}
}